Hello, Is it possible to fill in an attribute according to the value af another attribute ? For example, I have 2 attributes ("Req" and "Test") : "Req" is a boolean and tells if the object is a requirement or not. "Test" is a enumerated and tells if the requirement is "tested" or just "analyzed". What I'd want to do is that the "Test" attribute must be filled in by one user only if the "Req" attribute value is True, otherwise it shall be empty.
I've tried to make a dxl column but with dxl, the user cannot fill the attribute himself.
Have you some idea to fill in some conditionned attributes ? Estebell - Thu Nov 05 10:49:26 EST 2015 |
Re: Conditionned attributes Well - the DOORS user interface does not offer much for this. Thought about using a "form" instead of the module for filling out the attributes? Apart from that I would start simple and just put a hint to the title of the column like "FILL THIS FOR REQUIREMENTS" ... If you really want to unnerve the user, you may want to put a trigger to the module, that will prevent changes to one attribute if another attribute is not filled in, or even pops up a dialog, if the user forgot to do something. Slightly less intrusive is a DXL layout column that will check your conditions and give the user a nice green "OK" message, when everything is alright and a red error message if something is wrong. So: Hinting instead of forcing would be my suggested approach here. Regards, Mathias |
Re: Conditionned attributes Okay thank's
I thought about an edit dialog box to fill in all the attributes of a requirement object, but I'm afraid this would become a very large box because some users have to fill in a lot of different attreibutes. Same problem with a dialog box poping up each time an attribute is not filled in, this would accur a lot of dialog box the user has to close !
Your proposal seems good : the DXL layout column. It will check the conditions and display a green OK if all the attributes are filled in, or the name of the attributes that are empty in red.
Thank's a lot for your response. Regrads, Estelle |